import axios from '@/utils/axios'
//发送验证码
export function wxLogin(data) {
	return axios({
		url:'/api/hfmp/wxLogin',
		method: 'post',
		data: data,		
	})
}
//支付测试
export function xcxPayTest(data) {
	return axios({
		url:'/api/Shops/createOrder',
		method: 'post',
		data: data,		
	})
}
//统计埋点
export function getMpUrl(data) {
	return axios({
		url:'/api/rf/getMpUrl',
		method: 'post',
		data: data,		
	})
}
//验证码发送
export function send(data) {
	return axios({
		url:'/api/Sms/send',
		method: 'post',
		data: data,		
	})
}
//验证码验证
export function check(data) {
	return axios({
		url:'/api/Sms/check',
		method: 'post',
		data: data,		
	})
}
//产品列表
export function getGoodsList(data) {
	return axios({
		url:'/api/Shops/getGoodsList',
		method: 'post',
		data: data,		
	})
}
export function getOrderList(data) {
	return axios({
		url:'/api/Shops/getOrderList',
		method: 'post',
		data: data,		
	})
}
//获取h5跳转微信小程序的链接
export function getXcxurl(data) {
	return axios({
		url:'/api/xmly/getXcxurl',
		method: 'post',
		data: data,		
	})
}
// export function tj(data) {
// 	return axios({
// 		url:'/shops/Orderlist/tj',
// 		method: 'post',
// 		data: data,		
// 	})
// }









